/*
 * Reservation.h
 *
 *  Created on: 23 mars 2012
 *      Author: root
 */

#ifndef RESERVATION_H_
#define RESERVATION_H_

#include<string>

#include<iostream>

using namespace std;

class Reservation {
private:

	string NumMatricule;
	int NombreDeJour;
	int NumReservation;
	string NaturePaiment;
	string DateDebut;
	string DateRetour;
	string DateReservation;
	int CIN;
	string NomAgent;
	float Prix;

public:
	Reservation();
	Reservation(string,int,long,string,string,string,string,long,string,float);
	Reservation(const Reservation& );
	virtual ~Reservation();

string getNomAgent()const;
void setNomAgent(string);

float getPrix()const;
void setPrix(float);

long getCIN()const;
void setCIN(long);


string getNumMatricule()const;
void setNumMatricule(string);

int getNombreDeJour() const;
void setNombreDeJour(int);

long getNumReservation()const;
void setNumReservation(long);

string getNaturePaiment()const;
void setNaturePaiment(string);

string getDateDebut()const;
void setDateDebut(string);

string getDateRetour()const;
void setDateRetour(string);

string getDateReservation()const;
void setDateReservation(string);

float PrixAPayer(int);

friend ofstream& operator<<(ofstream&,const Reservation&);
friend ifstream& operator>>(ifstream&,Reservation&);
};
ifstream& operator>>(ifstream&,Reservation&);
ofstream& operator<<(ofstream&,const Reservation&);
#endif
